package YAPserver.collisionEngine;

import YAPserver.gameObjects.Line;
import YAPserver.gameObjects.Point;

public interface GameObject {
	/**
	 * Returns the line of this gameObject.
	 * @return the line of this gameObject
	 */
	public Line getLine();
	/**
	 * Returns the middle point of this gameObject.
	 * @return the middle point of this gameObject
	 */
	public Point getMiddlePoint();
	/**
	 * Sets the middlePoint of this gameObject.
	 * @param point new middle point of this gameObject
	 */
	public void setMiddlePoint(Point point);
}
